<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1, minimum-scale=1, user-scalable=no">
<title>Registra nuovo utente</title>


<!-- CSS Aggiornato minimale e compilato -->
<link rel="stylesheet" href="../css/bootstrap.min.css">

<!-- Tema Opzionale -->
<link rel="stylesheet" href="../css/bootstrap-theme.min.css">

<!-- JavaScript Aggiornato minimale e compilato -->
<script src="../js/bootstrap.min.js"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="../js/general.js"></script>


</head>
<body>

	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target="#myNavbar">
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>

				<a href="#"><img class=img-responsive alt="logo gas"
					src="../images/logo.png" width=50px height=50px></a>
			</div>

			<div class="collapse navbar-collapse" id="myNavbar">
				<ul class="nav navbar-nav">
					<li role="presentation"><a href="../login/login.php"><span
							class="glyphicon glyphicon-home" aria-hidden="true"></span> Home</a>
					</li>
					<li role="presentation"><a href="#">Indietro</a></li>
				</ul>
				<form id=ricerca class="navbar-form navbar-left" role="search">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="Socio">
					</div>
					<button type="submit" class="btn btn-default">Cerca</button>
				</form>

				<ul class="nav navbar-nav navbar-right">
					<li><a href="../login/login.php"><span
							class="glyphicon glyphicon-user"></span> Sign Up</a></li>
					<li><a href="../login/login.php"><span
							class="glyphicon glyphicon-log-in"></span> Login</a></li>
				</ul>
			</div>

		</div>
	</nav>

	<section id="main" class="column">
		<div class="container">

			<div class="row">
				<div class="col-sm-6">
					<div class="jumbotron">
						<!-- FORM DI REGISTRAZIONE UTENTE -->
						<form title="form_di_registrazione" name=regform
							action="registration_process.php" method=POST id="registration">
							<h2>Registra Utente..</h2>

							<select name="ruolo">
								<option value=-1 selected="selected">ruolo</option>
								<option value=0>socio</option>
								<option value=1>referente</option>
								<option value=2>tesoriere</option>
							</select> <br> <br>

							<div class="form-group">
								<label for="Nome">Nome</label> <input type=text name=nome
									class=form-control required placeholder="Nome">
							</div>

							<div class="form-group">
								<label for="Cognome">Cognome</label> <input type=text
									name=cognome class=form-control required placeholder="Cognome">
							</div>

							<div class="form-group">
								<label for="Nome utente">Username</label> <input type=text
									name=username class=form-control required
									placeholder="username">
							</div>

							<div class="form-group">
								<label for="Email del nuovo socio">Email</label> <input
									type="email" name="email" value="" class="form-control"
									required placeholder="email" size="25" maxlength="40">
							</div>

							<div class="form-group">
								<label for="Password personale">Password</label> <input
									type="password" name="p" class="form-control" required>
							</div>
							<button class="btn btn-lg btn-primary btn-block" type="submit"
								onclick="formhash(this.form, this.form.password);">Invia</button>
						</form>
					</div>
				</div>

				<div class="col-sm-4">
					<div class="jumbotron">
						<section title="informazioni marginali" id=infoplus>
							<h2 align=center>Info aggiuntive</h2>
							<div class="form-group">
								<label for="Indirizzo">Indirizzo</label> <input type=text
									name=indirizzo class=form-control placeholder="Indirizzo"
									form=registration>
							</div>
							<div class="form-group">
								<label for="N.Tel">Telefono</label> <input type=text
									name=telefono class=form-control placeholder="+39"
									form=registration>
							</div>
							<div class="form-group">
								<label for="N.Tel">Cellulare</label> <input type=text
									name=cellulare class=form-control placeholder="+39"
									form=registration>
							</div>
						</section>
					</div>
				</div>

			</div>
		</div>

	</section>

</body>
</html>

